package com.study.advice.demo.before;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

public class BeforeAdvice implements MethodBeforeAdvice {

    @Override
    public void before(Method method, Object[] args, Object o) {
        System.out.println("调用服务-ID：" + args[0]);
    }
}
